//定义路由接口
export interface RouteListRawState {
  path: string;
  element?: JSX.Element;
  meta: {
    label: string; //路由标题
    icon?: JSX.Element; //路由图标
    rank?: number; //路由顺序
    hide?: boolean; //路由显示隐藏
    roles?: string[]; //路由权限
  };
  children?: RouteListRawState[];
}

//定义用户信息的接口
export interface UserListRawState {
  id: number;
  username: string;
  photoImg: string;
  usertitle: string;
  role: string;
  sign: string;
}
